package com.distribution.common.web.response;

import lombok.Data;

/**
 * @author test
 * @date 2022年01月03日 22:21
 */

@Data
public class ResponseResult {
    private Integer code;
    private String message;
    private Object data;

    public ResponseResult(){

    }

    public ResponseResult(Integer code, String message){
        this.code = code;
        this.message = message;
    }

    public ResponseResult(Integer code, String message, Object data){
        this.code = code;
        this.message = message;
        this.data = data;
    }
}
